
import  {createStore,combineReducers,applyMiddleware} from  "redux"
 import thunkMiddleware from 'redux-thunk'
import  numReducer from  "../reducers/numReducers"
import  flagReducer from  "../reducers/flagReducer";
import  userReducer from "../reducers/userReducer"

let  all  = combineReducers({
    numInfo:numReducer,
    flagInfo:flagReducer,
    userInfo:userReducer
})


let  store  = createStore(all,applyMiddleware(thunkMiddleware));

export  default  store;
